package org.example.datasource.impl.resp;





public class OpenApiFieldMetadataVo {

    private Integer id;


    private Integer tableMetadataId;

    //字段英文名
    private String fieldName;

    //字段中文英文名
    private String fieldNameZh;

    //数据库长度
    private Integer length;

    //是否为空 0 可为空 1 不可为空
    private Integer isNull;

    //数据库类型
    private String type;

    //类型 0 普通字段 1 主键 2 外键
    private Integer keyType;

    //字段注释
    private String comment;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTableMetadataId() {
        return tableMetadataId;
    }

    public void setTableMetadataId(Integer tableMetadataId) {
        this.tableMetadataId = tableMetadataId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldNameZh() {
        return fieldNameZh;
    }

    public void setFieldNameZh(String fieldNameZh) {
        this.fieldNameZh = fieldNameZh;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getIsNull() {
        return isNull;
    }

    public void setIsNull(Integer isNull) {
        this.isNull = isNull;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getKeyType() {
        return keyType;
    }

    public void setKeyType(Integer keyType) {
        this.keyType = keyType;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
